<?php
/**
 * Data structure representing a name-table pair.
 * 
 * @package junction.core
 */
class Junction_Builder_Column {

	/**
	 * @var String the application name of the column
	 */
	public $name;
	
	/**
	 * @var String the table in which the column is
	 */
	public $table;
	
	/**
	 * Construct a new column which associates the given name and table.
	 *
	 * @param array $attributes an array with an index name and table.
	 */
	public function __construct(array $attributes) {
		$this->name = $attributes["name"];
		$this->column = $attributes["table"];
	}
}
?>